package com.example.exam.dao;


import com.example.exam.entity.ExamineeInfo;
import com.example.exam.req.RegisterReq;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ExamineeInfoDao {
    ExamineeInfo loginByIDCardAndPwd(String examineeIDCard, String examineePwd);

    int getNumByIDCard(String examineeIDCard);

    void register(RegisterReq registerReq);

    void logoutByIDCard(String examineeIDCard);

    int getCountIDCard(String examineeIDCard);

    void update(RegisterReq registerReq);

    boolean updateExamineeInfo(RegisterReq registerReq);
}